import type { RouteRecordRaw } from 'vue-router'
import { LoginRoutes } from './login'

/** 全局404页面 */
const fallbackNotFoundRoute: RouteRecordRaw = {
  component: () => import('@/views/notFound/index.vue'),
  meta: {
    title: '404',
  },
  name: 'FallbackNotFound',
  path: '/:path(.*)*',
}

const baseRoutes: RouteRecordRaw[] = [...LoginRoutes]

export { baseRoutes, fallbackNotFoundRoute }
